/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
import xmlMapping.Thread;
import xmlMapping.*;
/**
 *
 * @author Mostafa
 */
public class SplitActionForm extends org.apache.struts.action.ActionForm {
    
    
    String oldtitle;
    String olddescription;
    Integer oldthreadid;
    String[] oldpostsid;
    Post[] oldposts;
   
    String newtitle;
    String newdescription;
    String[] newpostsid;
    String oldthreadbody;
    String newthreadbody;
    Thread oldthread;

    public String getNewdescription() {
        return newdescription;
    }

    public void setNewdescription(String newdescription) {
        this.newdescription = newdescription;
    }

    public String getOlddescription() {
        return olddescription;
    }

    public void setOlddescription(String olddescription) {
        this.olddescription = olddescription;
    }

    
    
    public String getNewthreadbody() {
        return newthreadbody;
    }

    public void setNewthreadbody(String newthreadbody) {
        this.newthreadbody = newthreadbody;
    }

    public String getOldthreadbody() {
        return oldthreadbody;
    }

    public void setOldthreadbody(String oldthreadbody) {
        this.oldthreadbody = oldthreadbody;
    }

    
    
    
    
    public Integer getOldthreadid() {
        return oldthreadid;
    }

    public void setOldthreadid(Integer oldthreadid) {
        this.oldthreadid = oldthreadid;
    }

    
    
    
    
    public Thread getOldthread() {
        return oldthread;
    }

    public void setOldthread(Thread oldthread) {
        this.oldthread = oldthread;
    }
    
    
    public String[] getNewpostsid() {
        return newpostsid;
    }

    public void setNewpostsid(String[] newpostsid) {
        this.newpostsid = newpostsid;
    }

    public String getNewtitle() {
        return newtitle;
    }

    public void setNewtitle(String newtitle) {
        this.newtitle = newtitle;
    }

    public Post[] getOldposts() {
        return oldposts;
    }

    public void setOldposts(Post[] oldposts) {
        this.oldposts = oldposts;
    }

    public String[] getOldpostsid() {
        return oldpostsid;
    }

    public void setOldpostsid(String[] oldpostsid) {
        this.oldpostsid = oldpostsid;
    }

    public String getOldtitle() {
        return oldtitle;
    }

    public void setOldtitle(String oldtitle) {
        this.oldtitle = oldtitle;
    }
    
   
    
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
       
        return null;
    }
}
